mpc8xxx: USB: Removed reenablement of its interface
authorVivek Mahajan <[email protected]>
Thu, 21 May 2009 12:02:15 +0000 (17:32 +0530)
committerWolfgang Denk <[email protected]>
Fri, 12 Jun 2009 18:47:17 +0000 (20:47 +0200)
To prepare for the 85xx USB support, which requires interface enablement
only once in (specified) order, no different than instructions for
enabling the interface under 83xx.  It is unknown why the original author
enabled the interface twice (checked for references in errata, etc).

Signed-off-by: Vivek Mahajan <[email protected]>
Signed-off-by: Remy Bohmer <[email protected]>
drivers/usb/host/ehci-fsl.c

index 86ee1d57173ca88a01156eecbd87aba4119688a6..cff6024537bbf79c4a5579e621562033ebc5286f 100644 (file)
@@ -81,10 +81,6 @@ int ehci_hcd_init(void)
        out_be32((void *)(addr + FSL_SOC_USB_AGECNTTHRSH), 0x00000040);
        out_be32((void *)(addr + FSL_SOC_USB_SICTRL), 0x00000001);
 
-       /* Enable interface. */
-       temp = in_be32((void *)(addr + FSL_SOC_USB_CTRL));
-       out_be32((void *)(addr + FSL_SOC_USB_CTRL), temp | USB_EN);
-
        temp = in_le32((void *)(addr + FSL_SOC_USB_USBMODE));
 
        return 0;